export default {
  "panels": [{
    "index": 0,
    "name": 1,
    "height": 100,
    "width": 90,
    "paperHeader": 0,
    "paperFooter": 283.46456692913387,
    "printElements": [{
        "options": {
          "left": 6,
          "top": 9,
          "height": 9,
          "width": 240,
          "borderWidth": 0.75
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 246,
          "top": 9,
          "height": 261,
          "width": 9,
          "right": 255,
          "bottom": 98.25,
          "vCenter": 250.5,
          "hCenter": 53.25
        },
        "printElementType": {
          "title": "竖线",
          "type": "vline"
        }
      }, {
        "options": {
          "left": 6,
          "top": 9,
          "height": 261,
          "width": 9,
          "right": 15,
          "bottom": 103.5,
          "vCenter": 10.5,
          "hCenter": 58.5
        },
        "printElementType": {
          "title": "竖线",
          "type": "vline"
        }
      }, {
        "options": {
          "left": 9,
          "top": 12,
          "height": 15,
          "width": 120,
          "title": "Material & FDF-16",
          "right": 130.5,
          "bottom": 33,
          "vCenter": 70.5,
          "hCenter": 25.5,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 12,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 202.5,
          "top": 12,
          "height": 15,
          "width": 43.5,
          "title": "Ver:02",
          "right": 242.25,
          "bottom": 26.25,
          "vCenter": 220.5,
          "hCenter": 18.75,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 12,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 30,
          "height": 16.5,
          "width": 240,
          "title": "精神类药品产品标签",
          "right": 245.25,
          "bottom": 48,
          "vCenter": 125.25,
          "hCenter": 39.75,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 12.75,
          "fontWeight": "600",
          "textAlign": "center",
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 51,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "right": 245.25,
          "bottom": 60,
          "vCenter": 125.25,
          "hCenter": 55.5,
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 10.5,
          "top": 55,
          "height": 10,
          "width": 10,
          "right": 235.5,
          "bottom": 280.5,
          "vCenter": 160.5,
          "hCenter": 205.5,
          "fit": "",
          "coordinateSync": false,
          "widthHeightSync": false,
          "src": "https://img1.baidu.com/it/u=2464339725,1217283908&fm=253&fmt=auto&app=138&f=JPEG?w=539&h=500"
        },
        "printElementType": {
          "title": "图片",
          "type": "image"
        }
      }, {
        "options": {
          "left": 24,
          "top": 57,
          "height": 9.75,
          "width": 48,
          "title": "商业化",
          "right": 144,
          "bottom": 68.25,
          "vCenter": 84,
          "hCenter": 63.375,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 9,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 90,
          "top": 57,
          "height": 9.75,
          "width": 66,
          "title": "验证阶段",
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 9,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 76.5,
          "top": 57,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 91.75,
          "bottom": 67.75,
          "vCenter": 86.75,
          "hCenter": 62.75
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 160.5,
          "top": 57,
          "height": 10,
          "width": 10,
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "矩形",
          "type": "rect"
        }
      }, {
        "options": {
          "left": 174,
          "top": 57,
          "height": 9.75,
          "width": 64.5,
          "title": "试验开发阶段",
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 9,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 69,
          "top": 72,
          "height": 119,
          "width": 9,
          "right": 82.5,
          "bottom": 165,
          "vCenter": 78,
          "hCenter": 120,
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "竖线",
          "type": "vline"
        }
      }, {
        "options": {
          "left": 6,
          "top": 72,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 249,
          "bottom": 78.75,
          "vCenter": 129,
          "hCenter": 74.25
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 75,
          "top": 78,
          "height": 9.75,
          "width": 170,
          "title": "",
          "right": 238.5,
          "bottom": 87,
          "vCenter": 159.75,
          "hCenter": 82.125,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "fields": [{
            "text": "规格",
            "field": "materialspec"
          }, {
            "text": "物料代码",
            "field": "graphid"
          }, {
            "text": "产品名称",
            "field": "skuName"
          }, {
            "text": "批号",
            "field": "vbatchCode"
          }, {
            "text": "有效期",
            "field": "expirationDate"
          }, {
            "text": "容器号",
            "field": "sortNum"
          }],
          "field": "skuName",
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 7.5,
          "top": 78,
          "height": 9.75,
          "width": 57,
          "title": "产品名称：",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 93,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 7.5,
          "top": 97.5,
          "height": 9.75,
          "width": 57,
          "title": "物料代码：",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "right": 66,
          "bottom": 105.75,
          "vCenter": 37.5,
          "hCenter": 100.875
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 75,
          "top": 97.5,
          "height": 9.75,
          "width": 170,
          "title": "",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "right": 241.75,
          "bottom": 101.25,
          "vCenter": 164.75,
          "hCenter": 96.375,
          "fields": [{
            "text": "规格",
            "field": "materialspec"
          }, {
            "text": "物料代码",
            "field": "graphid"
          }, {
            "text": "产品名称",
            "field": "skuName"
          }, {
            "text": "批号",
            "field": "vbatchCode"
          }, {
            "text": "有效期",
            "field": "expirationDate"
          }, {
            "text": "容器号",
            "field": "sortNum"
          }],
          "field": "graphid",
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 114,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "right": 246,
          "bottom": 127.5,
          "vCenter": 126,
          "hCenter": 123,
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 7.5,
          "top": 117,
          "height": 9.75,
          "width": 57,
          "title": "规格：",
          "right": 126,
          "bottom": 126.75,
          "vCenter": 66,
          "hCenter": 121.875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 75,
          "top": 117,
          "height": 9.75,
          "width": 170,
          "title": "",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "right": 238.5,
          "bottom": 120.75,
          "vCenter": 159.75,
          "hCenter": 115.875,
          "fontSize": 6, // 使用更小的字体
          "fields": [{
            "text": "规格",
            "field": "materialspec"
          }, {
            "text": "物料代码",
            "field": "graphid"
          }, {
            "text": "产品名称",
            "field": "skuName"
          }, {
            "text": "批号",
            "field": "vbatchCode"
          }, {
            "text": "有效期",
            "field": "expirationDate"
          }, {
            "text": "容器号",
            "field": "sortNum"
          }],
          "field": "materialspec",
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 132,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 7.5,
          "top": 138,
          "height": 9.75,
          "width": 57,
          "title": "批号：",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 75,
          "top": 138,
          "height": 9.75,
          "width": 170,
          "title": "",
          "right": 238.5,
          "bottom": 144.75,
          "vCenter": 159.75,
          "hCenter": 139.875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "fields": [{
            "text": "规格",
            "field": "materialspec"
          }, {
            "text": "物料代码",
            "field": "graphid"
          }, {
            "text": "产品名称",
            "field": "skuName"
          }, {
            "text": "批号",
            "field": "vbatchCode"
          }, {
            "text": "有效期",
            "field": "expirationDate"
          }, {
            "text": "容器号",
            "field": "sortNum"
          }],
          "field": "vbatchCode",
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      },
      {
        "options": {
          "left": 6,
          "top": 151.5,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "right": 96,
          "bottom": 168,
          "vCenter": 51,
          "hCenter": 163.5,
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      },
      // {
      //   "options": {
      //     "left": 7.5,
      //     "top": 156,
      //     "height": 9.75,
      //     "width": 57,
      //     "title": "有效期至：",
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "qrCodeLevel": 0
      //   },
      //   "printElementType": {
      //     "title": "这是更新后的元素",
      //     "type": "text"
      //   }
      // }, {
      //   "options": {
      //     "left": 75,
      //     "top": 156,
      //     "height": 9.75,
      //     "width": 170,
      //     "title": "",
      //     "coordinateSync": false,
      //     "widthHeightSync": false,
      //     "qrCodeLevel": 0,
      //     "right": 238.5,
      //     "bottom": 172.5,
      //     "vCenter": 159.75,
      //     "hCenter": 167.625,
      //     "fields": [{
      //       "text": "规格",
      //       "field": "materialspec"
      //     }, {
      //       "text": "物料代码",
      //       "field": "graphid"
      //     }, {
      //       "text": "产品名称",
      //       "field": "skuName"
      //     }, {
      //       "text": "批号",
      //       "field": "vbatchCode"
      //     }, {
      //       "text": "有效期",
      //       "field": "expirationDate"
      //     }, {
      //       "text": "容器号",
      //       "field": "sortNum"
      //     }],
      //     "field": "expirationDate",
      //   },
      //   "printElementType": {
      //     "title": "",
      //     "type": "text"
      //   }
      // },
      // {
      //   "options": {
      //     "left": 6,
      //     "top": 171,
      //     "height": 9,
      //     "width": 240,
      //     "borderWidth": "0.75",
      //     "right": 99,
      //     "bottom": 184.5,
      //     "vCenter": 54,
      //     "hCenter": 180,
      //     "coordinateSync": false,
      //     "widthHeightSync": false
      //   },
      //   "printElementType": {
      //     "title": "横线",
      //     "type": "hline"
      //   }
      // },
      {
        "options": {
          "left": 7.5,
          "top": 177,
          "height": 9.75,
          "width": 57,
          "title": "容器号：",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 75,
          "top": 177,
          "height": 9.75,
          "width": 170,
          "title": "",
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "right": 243.5,
          "bottom": 195,
          "vCenter": 161.5,
          "hCenter": 190.125,
          "fields": [{
            "text": "规格",
            "field": "materialspec"
          }, {
            "text": "物料代码",
            "field": "graphid"
          }, {
            "text": "产品名称",
            "field": "skuName"
          }, {
            "text": "批号",
            "field": "vbatchCode"
          }, {
            "text": "有效期",
            "field": "expirationDate"
          }, {
            "text": "容器号",
            "field": "sortNum"
          }],
          "field": "sortNum"
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 190.5,
          "height": 9,
          "width": 240,
          "borderWidth": 0.75
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 12,
          "top": 192,
          "height": 50,
          "width": 50,
          "right": 64.5,
          "bottom": 261,
          "vCenter": 38.25,
          "hCenter": 234.75,
          "fit": "",
          "coordinateSync": false,
          "widthHeightSync": false,
          "field": "qrcode"
        },
        "printElementType": {
          "title": "图片",
          "type": "image"
        }
      }, {
        "options": {
          "left": 73.5,
          "top": 195,
          "height": 9.75,
          "width": 171,
          "title": "(ID)",
          "field": "pkMaterial",
          "right": 192.75,
          "bottom": 213,
          "vCenter": 132.75,
          "hCenter": 208.125
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      },
      {
        "options": {
          "left": 73.5,
          "top": 207,
          "height": 9.75,
          "width": 171,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "field": "skuBarId",
          formatter: (value, options, target, templateData) => {
            return options ? `(SN): ${options}` : ''; // 字段非空时显示标题，否则隐藏
          }
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      },
      {
        "options": {
          "left": 73.5,
          "top": 220.5,
          "height": 9.75,
          "width": 171,
          "right": 190.5,
          "bottom": 240.75,
          "vCenter": 130.5,
          "hCenter": 235.875,
          "coordinateSync": false,
          "widthHeightSync": false,
          "qrCodeLevel": 0,
          "field": "vbatchCode",
          formatter: (value, options, target, templateData) => {
            return options ? `(BN): ${options}` : ''; // 字段非空时显示标题，否则隐藏
          }
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      },
      {
        "options": {
          "left": 6,
          "top": 249,
          "height": 9,
          "width": 240,
          "borderWidth": 0.75,
          "right": 96.75,
          "bottom": 258,
          "vCenter": 51.75,
          "hCenter": 253.5
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }, {
        "options": {
          "left": 85,
          "top": 255,
          "coordinateSync": false,
          "widthHeightSync": false,
          "right": 70.5,
          "bottom": 266.25,
          "vCenter": 63,
          "hCenter": 258.75,
          "field": "def2",
          formatter: function(title, value, options, templateData, target) {
            if (value == '0' && templateData?.gubflag == '0') {
              return '✅';
            }
            return '<div style="width: 13px; height: 13px;border:1px solid black"></div>';
          }
        },
        "printElementType": {
          "title": "",
          "type": "text"
        }
      }, {
        "options": {
          "left": 100,
          "top": 255,
          "height": 9.75,
          "width": 120,
          "title": "已领用为零件",
          "right": 195.75,
          "bottom": 263.25,
          "vCenter": 135.75,
          "hCenter": 258.375,
          "coordinateSync": false,
          "widthHeightSync": false,
          "fontSize": 12,
          "textContentVerticalAlign": "middle",
          "qrCodeLevel": 0
        },
        "printElementType": {
          "title": "这是更新后的元素",
          "type": "text"
        }
      }, {
        "options": {
          "left": 6,
          "top": 270,
          "height": 9,
          "width": 240,
          "borderWidth": "0.75",
          "coordinateSync": false,
          "widthHeightSync": false
        },
        "printElementType": {
          "title": "横线",
          "type": "hline"
        }
      }
    ],
    "paperNumberLeft": 253,
    "paperNumberTop": 233,
    "paperNumberContinue": true,
    "paperNumberDisabled": true,
    "watermarkOptions": {},
    "panelLayoutOptions": {}
  }]
}
